package bridge.img;

public class Main {

	public static void main(String[] args) {

		PaintImage windowsPi = new WindowsPaintImage();

		Image bmp = new BmpImage(windowsPi);

		bmp.doPaint();

		PaintImage linuxPi = new LinuxPaintImage();
		bmp.setPaintImage(linuxPi);
		bmp.doPaint();
	}

}
